package com.rem.hutool;

import cn.hutool.core.util.RandomUtil;

import java.util.Arrays;
import java.util.List;

/**
 * @author Rem
 * @date 2021-03-17
 */

public class Test {

    public static void main(String[] args) {

        List<Integer> integers = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20);



        List<Integer> integers1 = RandomUtil.randomEleList(integers,10);
        System.err.println(integers1);



    }
}
